<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:url('enterprise/index')}">单位列表</a></li>
			<li><a href="{:url('enterprise/add')}">新增单位</a></li>
			<li class="active"><a href="{:url('enterprise/apply')}">入会申请</a></li>
		</ul>
		<br>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th width="50">ID</th>
					<th>单位名称</th>
					<th>地区</th>
					<th>地址</th>
					<th>行业</th>
					<th>申请人</th>
					<th>状态</th>
					<th width="140">{:lang('ACTIONS')}</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="list" item="vo">
				<tr>
					<td>{$vo.id}</td>
					<td>{$vo.enterprise_name}</td>
					<td>{$vo.area.title}</td>
					<td>{$vo.address}</td>
					<td>{$vo.industry_parent.name}{$vo.industry_son.name}</td>
					<td>{$vo.user.user_nickname}</td>
					<td>{$vo.status_text}</td>
					<td>
						<if $vo.status == 0> 
							<a class="btn btn-xs btn-success js-ajax-dialog-btn" href='{:url("enterprise/examin",array("id"=>$vo["id"],"act"=>"yes"))}'>通过</a>
							<a class="btn btn-xs btn-primary js-ajax-dialog-btn" href='{:url("enterprise/examin",array("id"=>$vo["id"],"act"=>"no"))}'>拒绝</a>
						</if>
					</td>
				</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>